package com.orderplus.opshop.synces.service.elasticsearch.data;

import lombok.Getter;
import lombok.Setter;


/**
 * ES查询参数类
 * <p>
 * Created by lms on 2019/3/13 14:39
 */
public class QueryParamData {

	// 查询索引类型
	@Getter
	private String[] indices;
	// 查询条件
	@Getter
	private Condition[] conditions;
	// 页码
	@Setter
	@Getter
	private int pageIndex = 1;
	// 每页显示的数
	@Setter
	@Getter
	private int pageSize = 30;

	public void setIndices(String... indices) {
		this.indices = indices;
	}

	public void setConditions(Condition... conditions) {
		this.conditions = conditions;
	}

}
